<?php
/**
 * UserContribute.php
 * @copyright (c) 2011-2020, Hangzhou DOJI Tech Co., Ltd.
 * This is NOT a freeware, use is subject to license terms.
 * @package UserContribute.php
 * @link https://www.tingjunapp.com/
 * @author wujun@lanqb.cn
 * @: UserContribute.php 310000 2020-11-08 17:45:31 $
 * */

namespace App\Consts;

class UserContribute
{

    public const TYPE_CONTRIBUTE = 2;

    // 是否被删除 0正常，1删除
    public const DEL_NORMAL = 0;
    public const DEL_DELETED = 1;

    // 是否屏蔽，1否2是
    public const STATUS_NORMAL = 1;
    public const STATUS_SHIELD = 2;

    // 审核状态，1待审核，2已退回，3重新审核中，4已发布
    public const AUDIT_CHECK_PENDING = 1;
    public const AUDIT_UNPASS = 2;
    public const AUDIT_REVIEW_AGAIN = 3;
    public const AUDIT_PASS = 4;

    // 编辑页面，选择的是：1原创，2推荐
    public const ARTICLE_TYPE_ORIGINAL = 1;
    public const ARTICLE_TYPE_RECOMMEND = 2;

    // 文章来源，1无，2公众号
    public const ARTICLE_SOURCE_NULL = 1;
    public const ARTICLE_SOURCE_ACCOUNT = 2;

    // 一键推荐的文章是否被编辑过，1否2是
    public const RECOMMEND_NOT_EDIT = 1;
    public const RECOMMEND_EDIT = 2;

    // 编辑页面，选择的是2推荐时，填写的时：1作者昵称，2作者手机号（后台可以选择）
    public const RECOMMEND_AUTHOR_NICKNAME = 1;
    public const RECOMMEND_AUTHOR_PHONE = 2;

    // 原作者是否入驻，1否2是
    public const RECOMMEND_NOT_APPLY = 1;
    public const RECOMMEND_APPLY = 2;

    // 是否自主截取文章摘要
    public const NOT_AUTO_SUMMARY = 1;
    public const AUTO_SUMMARY = 2;

    public const IS_NOT_OUT_RECOMMEND = 1;
    public const IS_OUT_RECOMMEND = 2;

    public const UNPASS_TYPE_CONTRIBUTE = 1;
    public const UNPASS_TYPE_ARTICLE = 2;

}
